SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 58084: You receive "ERROR: No logical assign for filename XXXXXX" when you use PROC CIMPORT to allocate a USS transport file in a JCL DD statement

DetailsHotfixAboutRate It

When you use the CIMPORT procedure with a UNIX System Services (USS) file that is allocated in a JCL DD statement, you receive the following error.

ERROR: No logical assign for filename XXXXXX.

Here is an example of the problem:

//STEP1 EXEC TMF93M2 //USSPORT DD PATH='/u/jiacke/testEOC.stc', // PATHOPTS=(ORDONLY) PROC CIMPORT INFILE=USSPORT LIBRARY=WORK; RUN; NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V9 Physical Name: TSD.M93M2.MXG.FMTLIB 1 PROC CIMPORT INFILE=USSPORT LIBRARY=WORK; 2 RUN; ERROR: No logical assign for filename USSPORT. NOTE: The SAS System stopped processing this step because of errors. NOTE: The PROCEDURE CIMPORT used 0.00 CPU seconds and 17114K. NOTE: The address space has used a maximum of 924K below the line and 19048K

The workaround is to use a FILENAME statement rather than a JCL DD statement to allocate the USS file. Here is an example of the workaround:

//STEP1 EXEC TMF93M2 //SYSIN DD * FILENAME DYNAMIC '/u/jiacke/testEOC.stc'; PROC CIMPORT INFILE=DYNAMIC LIBRARY=WORK; RUN; NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V9 Physical Name: TSD.M93M2.MXG.FMTLIB 1 FILENAME DYNAMIC '/u/jiacke/testEOC.stc'; 2 PROC CIMPORT INFILE=DYNAMIC LIBRARY=WORK; 3 RUN; NOTE: PROC CIMPORT begins to create/update data set WORK.CARS NOTE: Data set contains 15 variables and 428 observations. Logical record length is 152

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.3 TS1M29.3 TS1M2
z/OS 64-bit9.3 TS1M29.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.